package com.example.demovote.service;

import com.example.demovote.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 投票系统-用户表-4 服务类
 * </p>
 *
 * @author ly
 * @since 2024-03-18
 */
public interface IUserService extends IService<User> {

    public User login(String uname,String pwd) throws ServiceException;

    public void register(User user) throws ServiceException;

}
